package org.example.configcenter;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "config.center")
@Data
public class ConfigCenterProperties {
    private boolean enabled = true;
    private String serverAddr;
    private String namespace;
    private String group = "DEFAULT_GROUP";

    // getters and setters
}